package com.googlecode.iiddefecttracker.service;

import java.util.List;

import com.googlecode.iiddefecttracker.dao.UIDao;
import com.googlecode.iiddefecttracker.domain.LabelValue;

/**
 * default implementation of {@link UIService}.
 */
public class UIServiceImpl implements UIService {
    
    private final UIDao uiDao;
    
    public UIServiceImpl(final UIDao uiDao) {
        this.uiDao = uiDao;
    }
    
    public List<LabelValue<String, Long>> getAllProjectsForDropdown() {
        
        return uiDao.getAllProjectsForDropdown();
    }
    
}
